package com.qf.entiy;/*
    Dell
    2021/10/9
    9:21
*/

import java.util.Date;

public class Product {
    private Integer id;
    private String pname;
    private Date date;
    private String vender;
    private Double price;
    private Integer type;
    private Category category;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }



    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getVender() {
        return vender;
    }

    public void setVender(String vender) {
        this.vender = vender;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    public Product() {
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public Product(Integer id, String pname, Date date, String vender, Double price, Integer type, Category category) {
        this.id = id;
        this.pname = pname;
        this.date = date;
        this.vender = vender;
        this.price = price;
        this.type = type;
        this.category = category;
    }
}
